package com.atguigu.start.teststartmodule19.log;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class LogTest {

    private final Logger logger = LoggerFactory.getLogger(LogTest.class);

    public void printLog() {
        logger.trace("trace...");
        logger.debug("debug...");
        logger.info("info...");
        logger.warn("warn...");
        logger.error("error...");
        logger.info("早上好，{}！今天天气不错！我约了{}，一起喝下午茶", "张三", "李四");
    }

}
